home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 23.zip / BS1 part 23 / Showmaker v1.00 100% disk3.adf / BG_Install next >
AmigaDOS Script File  |  1991-06-20  |  6KB  |  89 lines

  1. .KEY dest
  2. .BRA {
  3. .KET }
  4.  
  5. ;
  6. ; Do the ShowMaker installation:
  7. ;
  8. ; Inputs:
  9. ;    dest  Where stuff should go.
  10.  
  11.  
  12. ;   IF NOT EXISTS RAM:TempPics
  13. ;      MAKEDIR RAM:TempPics
  14. ;   ENDIF
  15.    IF NOT EXISTS RAM:TempPalettes
  16.       MAKEDIR RAM:TempPalettes
  17.    ENDIF
  18.  
  19.    ECHO "*N     Installing Video Backgrounds ..."
  20.    IF NOT EXISTS "{dest}"
  21.       MAKEDIR "{dest}"
  22.    ENDIF
  23.  
  24.    COPY SM_Backgrounds:combinepic ram:combine
  25. ;   COPY SM_Backgrounds:Pics     RAM:TempPics     ALL QUIET
  26.    COPY SM_Backgrounds:Palettes RAM:TempPalettes ALL QUIET
  27.  
  28.    ram:combine >nil: SM_Backgrounds:Pics/Abstract  RAM:TempPalettes/Abstract_Grey    "{dest}/Abstract_Grey"
  29.    ram:combine >nil: SM_Backgrounds:Pics/Abstract  RAM:TempPalettes/Abstract_Blue    "{dest}/Abstract_Blue"
  30.    ram:combine >nil: SM_Backgrounds:Pics/Ripples   RAM:TempPalettes/Ripples_Blue     "{dest}/Ripples_Blue"
  31.    ram:combine >nil: SM_Backgrounds:Pics/Vortex    RAM:TempPalettes/Vortex_Blue      "{dest}/Vortex_Blue"
  32.    ram:combine >nil: SM_Backgrounds:Pics/Diag-Bars RAM:TempPalettes/Bars_Blue        "{dest}/DiagBars_Blue"
  33.    ram:combine >nil: SM_Backgrounds:Pics/Canvas    RAM:TempPalettes/Canvas_Cyan      "{dest}/Canvas_Cyan"
  34.    ram:combine >nil: SM_Backgrounds:Pics/Gradient  RAM:TempPalettes/Gradient_Aqua1   "{dest}/Gradient_Aqua1"
  35.    ram:combine >nil: SM_Backgrounds:Pics/Gradient  RAM:TempPalettes/Gradient_Aqua2   "{dest}/Gradient_Aqua2"
  36.    ram:combine >nil: SM_Backgrounds:Pics/Gradient  RAM:TempPalettes/Gradient_Green   "{dest}/Gradient_Green"
  37.    ram:combine >nil: SM_Backgrounds:Pics/Gradient  RAM:TempPalettes/Gradient_Olive   "{dest}/Gradient_Olive"
  38.    ram:combine >nil: SM_Backgrounds:Pics/Gradient  RAM:TempPalettes/Gradient_RedBlue "{dest}/Gradient_RedBlue"
  39.    ram:combine >nil: SM_Backgrounds:Pics/Pebbles   RAM:TempPalettes/Pebbles_Cyan     "{dest}/Pebbles_Cyan"
  40.    ram:combine >nil: SM_Backgrounds:Pics/Pebbles   RAM:TempPalettes/Pebbles_Grey     "{dest}/Pebbles_Grey"
  41.    ram:combine >nil: SM_Backgrounds:Pics/Tech      RAM:TempPalettes/Tech_Blue        "{dest}/Tech_Blue"
  42.    ram:combine >nil: SM_Backgrounds:Pics/Tech      RAM:TempPalettes/Tech_Red         "{dest}/Tech_Red"
  43.    ram:combine >nil: SM_Backgrounds:Pics/Tile      RAM:TempPalettes/Tile_Blue        "{dest}/Tile_Blue"
  44.    ram:combine >nil: SM_Backgrounds:Pics/Tile      RAM:TempPalettes/Tile_Cyan        "{dest}/Tile_Cyan"
  45.    ram:combine >nil: SM_Backgrounds:Pics/Velvet    RAM:TempPalettes/Velvet_Blue      "{dest}/Velvet_Blue"
  46.    ram:combine >nil: SM_Backgrounds:Pics/Velvet    RAM:TempPalettes/Velvet_Red       "{dest}/Velvet_Red"
  47.  
  48. ;   DELETE RAM:TempPics/#? ALL QUIET
  49.    DELETE RAM:TempPalettes/#? ALL QUIET
  50.  
  51. ;   COPY SM_Backgrounds2:Pics     RAM:TempPics ALL QUIET
  52.    COPY SM_Backgrounds2:Palettes RAM:TempPalettes ALL QUIET
  53.  
  54.    ram:combine >nil: SM_Backgrounds2:Pics/Branches.pic     RAM:TempPalettes/Branches_Blue     "{dest}/Branches_Blue"
  55.    ram:combine >nil: SM_Backgrounds2:Pics/Branches.pic     RAM:TempPalettes/Branches_Red      "{dest}/Branches_Red"
  56.    ram:combine >nil: SM_Backgrounds2:Pics/Grooves.pic      RAM:TempPalettes/Grooves_Blue      "{dest}/Grooves_Blue"
  57.    ram:combine >nil: SM_Backgrounds2:Pics/Grooves.pic      RAM:TempPalettes/Grooves_Cyan      "{dest}/Grooves_Cyan"
  58.    ram:combine >nil: SM_Backgrounds2:Pics/Clouds.pic       RAM:TempPalettes/Clouds_Grey       "{dest}/Clouds_Grey"
  59.    ram:combine >nil: SM_Backgrounds2:Pics/Clouds.pic       RAM:TempPalettes/Clouds_Cyan       "{dest}/Clouds_Cyan"
  60.    ram:combine >nil: SM_Backgrounds2:Pics/Flecks.pic       RAM:TempPalettes/Fleck_Grey        "{dest}/Flecks_Grey"
  61.    ram:combine >nil: SM_Backgrounds2:Pics/Flecks.pic       RAM:TempPalettes/Fleck_Cyan        "{dest}/Flecks_Cyan"
  62.    ram:combine >nil: SM_Backgrounds2:Pics/Fur.pic          RAM:TempPalettes/Fur_Cyan          "{dest}/Fur_Cyan"
  63.    ram:combine >nil: SM_Backgrounds2:Pics/Fur.pic          RAM:TempPalettes/Fur_Sand          "{dest}/Fur_Sand"
  64.    ram:combine >nil: SM_Backgrounds2:Pics/Wicker.pic       RAM:TempPalettes/Wicker_Blue       "{dest}/Wicker_Blue"
  65.    ram:combine >nil: SM_Backgrounds2:Pics/Wicker.pic       RAM:TempPalettes/Wicker_Brown      "{dest}/Wicker_Brown"
  66.    ram:combine >nil: SM_Backgrounds2:Pics/Water.pic        RAM:TempPalettes/Water_Blue        "{dest}/Water_Blue"
  67.    ram:combine >nil: SM_Backgrounds2:Pics/Water.pic        RAM:TempPalettes/Water_Grey        "{dest}/Water_Grey"
  68.    ram:combine >nil: SM_Backgrounds2:Pics/Marble.pic       RAM:TempPalettes/Marble_Blue       "{dest}/Marble_Blue"
  69.    ram:combine >nil: SM_Backgrounds2:Pics/Marble.pic       RAM:TempPalettes/Marble_Grey       "{dest}/Marble_Grey"
  70.    ram:combine >nil: SM_Backgrounds2:Pics/CheckerBoard.pic RAM:TempPalettes/CheckerBoard_Blue "{dest}/CheckerBoard_Blue"
  71.    ram:combine >nil: SM_Backgrounds2:Pics/CheckerBoard.pic RAM:TempPalettes/CheckerBoard_Cyan "{dest}/CheckerBoard_Cyan"
  72.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_1.pic     RAM:TempPalettes/Emboss_Blue       "{dest}/Emboss1_Blue"
  73.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_1.pic     RAM:TempPalettes/Emboss_Cyan       "{dest}/Emboss1_Cyan"
  74.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_2.pic     RAM:TempPalettes/Emboss_Blue       "{dest}/Emboss2_Blue"
  75.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_2.pic     RAM:TempPalettes/Emboss_Cyan       "{dest}/Emboss2_Cyan"
  76.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_3.pic     RAM:TempPalettes/Emboss_Blue       "{dest}/Emboss3_Blue"
  77.    ram:combine >nil: SM_Backgrounds2:Pics/Emboss_3.pic     RAM:TempPalettes/Emboss_Cyan       "{dest}/Emboss3_Cyan"
  78.    ram:combine >nil: SM_Backgrounds2:Pics/SkyScraper.pic   RAM:TempPalettes/SkyScraper_Blue   "{dest}/SkyScraper_Blue"
  79.    ram:combine >nil: SM_Backgrounds2:Pics/SkyScraper.pic   RAM:TempPalettes/SkyScraper_Grey   "{dest}/SkyScraper_Grey"
  80.  
  81. ;   DELETE RAM:TempPics ALL QUIET
  82.    DELETE RAM:TempPalettes ALL QUIET
  83.    DELETE RAM:combine QUIET
  84.  
  85.    ECHO "     Installation of Video Backgrounds Complete!"
  86.    ECHO ""
  87.  
  88.  
  89.